package com.moss.cloud.common.security.config;

import com.moss.cloud.common.core.utils.SpringContextHolder;
import com.moss.cloud.common.security.annotation.aspect.RequiresDeptImpl;
import com.moss.cloud.common.security.annotation.aspect.RequiresRoleImpl;
import com.moss.cloud.common.security.annotation.aspect.RequiresTenantImpl;
import com.moss.cloud.common.security.event.AbstractEventListener;
import com.moss.cloud.common.security.exception.DefaultGlobalExceptionHandlerAdvice;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 初始化配置类
 */
@Configuration
@Import({WebServerMvcConfigurerAdapter.class,
        SpringContextHolder.class,
        DefaultGlobalExceptionHandlerAdvice.class,
        RequiresTenantImpl.class,
        RequiresDeptImpl.class,
        RequiresRoleImpl.class,
        AbstractEventListener.class})
public class CommonAutoConfigure {
}
